package Class_03_22;

public class Book {
    private int num;
    private String name;
    private double price;
    private int inventory;

    public Book() {
    }

    public Book(int num, String name, double price, int inventory) {
        this.num = num;
        this.name = name;
        this.price = price;
        this.inventory = inventory;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getInventory() {
        return inventory;
    }

    public void setInventory(int inventory) {
        this.inventory = inventory;
    }
}

